﻿using System.ComponentModel.Composition;
using System.Web.Mvc;

namespace Mefisto4.Core.MEF
{
    public class Constants
    {
        public const string ControllerNameMetadataName = "controller_name";
        public const string ControllerNamespaceMetadataName = "controller_ns";
        public static string ControllerTypeMetadataName = "controller_type";
        public const string ExportedTypeIdentityMetadataName = "ExportTypeIdentity";

        public const string ControllerExportEntryName = "controllerExport";

        public static readonly string ControllerContract = AttributedModelServices.GetContractName(typeof(IController));
        public static readonly string ControllerTypeIdentity = AttributedModelServices.GetTypeIdentity(typeof(IController));
    }
}